#include "Enemy.h"
#include "Player.h"
#include <SDL.h>


Enemy::Enemy(const Loader* pParams)
	: SDLGameObject(pParams) {} 


void Enemy::Render() const 
{
	SDLGameObject::Render();   
}


void Enemy::Update() 
{
	// 1 frame = (1 / number_of_frames) * sprite_width 
	m_currentFrame = static_cast <int> ((SDL_GetTicks() / 100) % 6);

	m_position.x += 1;
	m_position.y += 1; 
}


void Enemy::CleanUp()
{
}

